<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表单标签</title>
</head>
<body>
    <form action="#">
        用户名：<input type="text" name="username" placeholder="请输入用户名" maxlength="6"><br>
        密码：<input type="password" name="password" placeholder="请输入密码"><br>
        性别：
        <input type="radio" name="gender" value="1">男
        <input type="radio" name="gender" value="0">女<br>
        爱好：
        <input type="checkbox" name="likes" value="cy">抽烟
        <input type="checkbox" name="likes" value="hj">喝酒
        <input type="checkbox" name="likes" value="tt">烫头<br>
        靓照：<input type="file" name="photo"><br>
        生日：<input type="date" name="birthday"><br>
        <textarea name="desc" cols="30" rows="10" placeholder="请输入自我介绍" style="resize: none;"></textarea><br>
        <input type="checkbox" id="agree">
        <label for="agree">我已阅读并同意《用户协议》</label></br>
        <input type="submit" value="注册">
        <input type="reset" value="重置">
    </form>
</body>
</html>